Determine what npm version you are currently at. First go into project directory
#### first change directory to your npm location. In my case it is:
% cd Sites/11ty-ahs
% npm list
├── @11ty/eleventy-navigation@0.3.2
├── @11ty/eleventy-plugin-webc@0.9.3
├── @11ty/eleventy-upgrade-help@3.0.1
├── @11ty/eleventy@3.0.0
├── dayjs@1.10.7
└── npm@9.8.0
upgrade to the lastest version of npm and dayjs
npm install npm@latest
npm upgrade dayjs
npm list
├── @11ty/eleventy-navigation@0.3.2
├── @11ty/eleventy-plugin-webc@0.9.4
├── @11ty/eleventy-upgrade-help@3.0.1
├── @11ty/eleventy@3.0.0
├── dayjs@1.11.13
└── npm@11.0.0